import { stores } from '@/stores/index.js'
import dayjs from 'dayjs'
export default [
  {
    name: 'BEGIN_DATE',
    label: '使用开始时间',
    type: 'picker'
  },
  {
    name: 'END_DATE',
    label: '使用结束时间',
    type: 'picker'
  },
  {
    name: 'RSSJ',
    label: '入所时间',
    type: 'picker',
    rules: {
      trigger: 'blur',
      required: true,
      message: '请选择入所时间'
    }
  },
  {
    name: 'RSSJRange',
    label: '入所时间',
    type: 'picker',
    attrs: {
      type: 'daterange',
      'value-format': 'YYYY-MM-DD'
    }
  },

  {
    name: 'CSSJ',
    label: '出所时间',
    type: 'picker',
    rules: {
      trigger: 'blur',
      required: true,
      message: '请选择出所时间'
    },
    attrs: {
      // disabled: true
    }
  },

  {
    name: 'CSSJRange',
    label: '出所时间',
    type: 'picker',
    rules: {
      trigger: 'blur',
      required: true,
      message: '请选择出所时间'
    },
    attrs: {
      type: 'daterange',
      'value-format': 'YYYY-MM-DD'
    }
  },

  {
    name: 'CSRQ',
    label: '出生日期',
    type: 'picker'
  },

  {
    name: 'GYQX',
    label: '关押期限',
    type: 'picker'
  },

  {
    name: 'JYRQ',
    label: '羁押日期',
    type: 'picker'
  },

  {
    name: 'JLRQ',
    label: '拘留日期',
    type: 'picker'
  },

  {
    name: 'DBRQ',
    label: '逮捕日期',
    type: 'picker'
  },

  {
    name: 'SCQSRQ',
    label: '审查起诉日期',
    type: 'picker'
  },

  {
    name: 'YSFYRQ',
    label: '移送法院日期',
    type: 'picker'
  },

  {
    name: 'ZZCZRQ',
    label: '最终处置日期',
    type: 'picker'
  },
  {
    name: 'ZXTZSSDRQ',
    label: '执行书送达日期',
    type: 'picker'
  },
  {
    name: 'XQQSRQ',
    label: '刑期起始日期',
    type: 'picker'
  },
  {
    name: 'XQJZRQ',
    label: '刑期截止日期',
    type: 'picker'
  },
  {
    name: 'JBSJ',
    label: '经办时间',
    type: 'picker',
    hidden: false,
    attrs: {
      'value-format': 'YYYY-MM-DD HH:mm:ss',
      format: 'YYYY-MM-DD HH:mm:ss',
      // 'default-value': '2000-12-25'
      disabled: true
    }
  },
  {
    name: 'purchaseDate',
    label: '进货日期',
    type: 'picker'
  },
  {
    name: 'dDJSJRange',
    label: '登记时间',
    type: 'picker',
    attrs: {
      type: 'daterange',
      'value-format': 'YYYY-MM-DD HH:MM:ss'
    }
  }
]
